'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.post('/loginUp', controller.login.loginUp);
  router.get('/getImgs', controller.login.swiperItem);
  router.get('/dowCom', controller.comment.dowCom);
  router.get('/Comlist', controller.comment.Comlist);
  router.post('/addList', controller.comment.addList);
};
